package com.citygis.transferdata.api.workPackage;

import com.citygis.transferdata.api.source2.service.SecondService;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import javax.annotation.Resource;

/**
 * @ClassName: myWork 
 * @Description: TODO
 * @author: liuzg
 * @Date: 2021/8/31 10:52
 * @Version: v1.0
 */
public class myWork implements Job {

    @Resource
    private SecondService service;


    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {

        System.out.println(service.getTime());
    }
}
